<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    
    <style>
        body {
            color: gray;
        }
        p{
            position: relative;
            font-size: 50px;
            color: #000;
            display: inline-block;

        }
        p::after {
            /* 属性值 */
            content: attr(title);
            position: absolute;
            width: 100%;
            height: 100%;
            color: rgb(217, 127, 9);
            left: 0;
            top: 0;
            /* 动画 */
            animation: go 2s linear infinite ;
            
        }

        @keyframes go {
            0%{
                clip-path:ellipse(32px 32px at 0% 50%)

            }
            50%{
                clip-path:ellipse(32px 32px at 100% 50%)
            }
            100% {
                clip-path:ellipse(32px 32px at 0% 50%)

            }
        }
    </style>

</head>
<body>
    
    <div>
        <p title="天天向上，财务自由">天天向上，财务自由</p>
    </div>
</body>
</html>